package com.aaa.day1109.demo03;

/**
 * @author ${崔灿}
 * @date 2022/11/09 18:05
 **/

public class Test {
    public static void main(String[] args) {
        AAAPublic aaaPublic = new AAAPublic();
        User user1 = new User("张三");
        User user2 = new User("李四");
        User user3 = new User("王五");
        User user4 = new User("赵六");
        aaaPublic.guanzhu(user1);
        aaaPublic.guanzhu(user2);
        aaaPublic.guanzhu(user3);
        aaaPublic.guanzhu(user4);
        aaaPublic.guanzhu(new Teacher());

        aaaPublic.setMsg("今天星期三");

        aaaPublic.qunFa();
        System.out.println("+=========================================+");
        aaaPublic.quxiao(user1);
        aaaPublic.qunFa();

    }
}
